projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f11e5a3
)
gtkappchooserwidget: Use symbolic names for button numbers
author
Carlos Garcia Campos
<cgarcia@igalia.com>
Wed, 25 Jan 2012 17:16:23 +0000
(18:16 +0100)
committer
Carlos Garcia Campos
<carlosgc@gnome.org>
Fri, 27 Jan 2012 08:47:42 +0000
(09:47 +0100)
gtk/gtkappchooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkappchooserwidget.c
b/gtk/gtkappchooserwidget.c
index 459fe5d369097346f7c552940871522cda7c9e16..083d62ee814ddc435992ca3f2da672dca7e20a10 100644
(file)
--- a/
gtk/gtkappchooserwidget.c
+++ b/
gtk/gtkappchooserwidget.c
@@
-208,7
+208,7
@@
widget_button_press_event_cb (GtkWidget *widget,
{
GtkAppChooserWidget *self = user_data;
- if (event->button ==
3
&& event->type == GDK_BUTTON_PRESS)
+ if (event->button ==
GDK_BUTTON_SECONDARY
&& event->type == GDK_BUTTON_PRESS)
{
GAppInfo *info;
GtkWidget *menu;